package routers

import (
	"github.com/gin-gonic/gin"
	v1 "teacher-helper/api/v1"
	"teacher-helper/middleware"
)

func InitStuRewardRouter(Router *gin.RouterGroup)  {
	StuRewardRouter := Router.Group("stu_rewards").Use(middleware.JWTAuth())
	{
		StuRewardRouter.GET("/getStuRewardList", v1.GetStuRewardList)
		StuRewardRouter.POST("/addStuReward", v1.AddOneStuReward)
		StuRewardRouter.PUT("/updateStuReward", v1.UpdateStuReward)
		StuRewardRouter.DELETE("/deleteStuReward", v1.DeleteStuReward)
	}
}


